package com.quanyan.club.operate.service;

import com.quanyan.api.APIResponse;
import com.quanyan.club.entity.db.TbOperateLotteryPrizeItems;
import com.quanyan.club.entity.db.TbOperateLotteryPrizeRecord;

import java.text.ParseException;
import java.util.List;

/**
 * Created by zhuo.shi on 2016/12/7.
 *
 * 抽奖活动
 */
public interface LotteryService {


    APIResponse queryLotteryPrizeItems2(Integer uid);

    APIResponse drawLottery2(int uid);

    List<TbOperateLotteryPrizeRecord> queryHitRecordList2();

    APIResponse queryLotteryPrizeItems(Integer uid);

    APIResponse queryLotteryPrizeItemsNewYear(Integer uid);

    APIResponse drawLottery(int uid);

    APIResponse drawLotteryNewYear(int uid);

    List<TbOperateLotteryPrizeRecord> queryHitRecordList();

    List<TbOperateLotteryPrizeRecord> queryHitRecordListPullNewClub(int uid) throws ParseException;

    List<TbOperateLotteryPrizeRecord> queryHitRecordListNewYear();

    void recordHitPrizeUserInfo(int rid, int uid, String mobile, String address);

    APIResponse drawLotteryPullNewClub(int oldUid, int newClubId);
}
